class Displayer(object):
    def get_name(self):
        return 'robert'


class LoggerMixin(object):
    def display(self):
        name = self.get_name()
        print('name = {0}'.format(name))


class MySubClass(LoggerMixin, Displayer):
    pass

obj = MySubClass()
obj.display()

